package top.huhuiyu.springboot.study.mapper;

import org.apache.ibatis.annotations.Mapper;
import top.huhuiyu.springboot.study.entity.Software;

import java.util.List;

/**
 * @author 胡辉煜
 */
@Mapper
public interface SoftwareMapper {
  int insert(Software software);
  Software queryByKey(Integer sid);
  List<Software> query(Software software);
  List<Software> queryMapping(Software software);
  List<Software> queryResult(Software software);
  Long queryCountByStid(Integer stid);
  int delete(Integer sid);
  int update(Software software);
}
